package com.cskaoyan.bean.bo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 优惠券创建的接受类
 *
 * @author chenxu
 * @since 2022/04/11 09:10
 *
 *
 */
@NoArgsConstructor
@Data
public class CouponCreateBO {


    private Integer id;

    private String name;

    private String desc;

    private String tag;

    private Integer total;

    private BigDecimal discount;

    private BigDecimal min;

    private Short limit;

    private Short type;

    private Short status;

    private Short goodsType;

    private Integer[] goodsValue;

    private String code;

    private Short timeType;

    private Short days;

    private Date startTime;

    private Date endTime;

    private Date addTime;

    private Date updateTime;

    private Boolean deleted;

    private List<CouponGoodsListDTO> couponGoodsList;

    @NoArgsConstructor
    @Data
    public static class CouponGoodsListDTO {
        private int goodsId;
        private String goodsName;
        private String goodsSn;
    }
}
